package com.example.demo.mongodb.service;

import com.example.demo.entiy.Message;
import org.springframework.stereotype.Repository;

@Repository
public interface MessageService {
    void insert(Message message);
    Message findById(Long id);
}
